import axios from '@/utils/request';

import config from '@/common/config'

let base = config.getMkBasePath();
 
export const selectUsersByBranchId= params => { return axios.get(`${base}/mk/pub/user/list/byBranchId`, { params: params }); };

//根据机构id查询该机构下所有的公众号
export const selectPublicWeChats= params => { return axios.get(`${base}/sys/app/appTpAuth/list`,  { params: params }); };

//根据门店id查询门店上架的第三方应用
export const getAuthIdByLocationId= params => { return axios.get(`${base}/pub/shopLocation/authId`,  { params: params }); };


 